<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8" />
		<title>1.v-text</title>
		<!-- 引入Vue -->
		<script type="text/javascript" src="../js/vue.js"></script>
	</head>
	<body>
		<!-- 准备好一个容器-->
		<div id="demo">
			<h2>消息内容是：{{msg}}</h2>
			<h2 v-text="msg">
		</div>

		<script type="text/javascript">
			new Vue({
				el:'#demo',
				data:{
					msg:'<a href="http://www.atguiug.com">欢迎各位来学习</a>'
				}
			})
		</script>
	</body>
</html>